package com.summer.campussct.service;

import com.summer.campussct.pojo.VehicleOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.campussct.pojo.dto.RestResult;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author Mr.Chen
 * @since 2024-05-15
 */
public interface IVehicleOrderService extends IService<VehicleOrder> {

    RestResult createOrder(VehicleOrder vehicleOrder);

    RestResult payDetails(long id);

    RestResult getOrderList(long uid, Integer orderStatus);

    RestResult paySuccess(long id);

    RestResult cancelOrder(long id);

    RestResult getDetails(long id);

    RestResult finishOrder(long id);

    RestResult refundOrder(long id);

    RestResult cancelRefundOrder(long id);

    RestResult deleteOrder(long id);

    RestResult mySellOrder(long uid, Integer orderStatus);

    RestResult agreeRefundOrder(long id);
}
